package org.example.builder.improve;

/**
 * @author wf
 * @description 抽象构造者
 */
public abstract class HouseBuilder {

    protected House house = new House();

    /**
     * 打地基
     * @author
     */
    public abstract void buildBasic();

    /**
     * 砌墙
     * @author
     */
    public abstract void buildWall();

    /**
     * 封顶
     * @author
     */
    public abstract void roofed();

    /**
     * 构造流程
     * @author
     */
    public House buildHouse() {
        return house;
    }

}
